// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_ORDER_CHANGE
// * CreateDate    : 2011/9/27 11:24:17
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:17
// * LastChanger   : 2011/9/27 11:24:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstOrderChangeTable : TableInfo
    {
		public const string C_TableName = "MST_ORDER_CHANGE";
		
		public const string C_ORDER_CHANGE_ID = "ORDER_CHANGE_ID";
		public const string C_ORDER_ID = "ORDER_ID";
		public const string C_CHANGE_TYPE = "CHANGE_TYPE";
		public const string C_SEND_TO = "SEND_TO";
		public const string C_CHANGE_TITLE = "CHANGE_TITLE";
		public const string C_CHANGE_CONTENT = "CHANGE_CONTENT";
		public const string C_CHANGE_PERSON = "CHANGE_PERSON";
		public const string C_CHANGE_DATE = "CHANGE_DATE";
		
		public MstOrderChangeTable()
        {
            _tableName = "MST_ORDER_CHANGE";
        }
		
		protected static MstOrderChangeTable _current;
        public static MstOrderChangeTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstOrderChangeTable();

            _current.Add(C_ORDER_CHANGE_ID, new ColumnInfo(C_ORDER_CHANGE_ID,"OrderChangeId", true, typeof(string)));
            _current.Add(C_ORDER_ID, new ColumnInfo(C_ORDER_ID,"OrderId", false, typeof(string)));
            _current.Add(C_CHANGE_TYPE, new ColumnInfo(C_CHANGE_TYPE,"ChangeType", false, typeof(string)));
            _current.Add(C_SEND_TO, new ColumnInfo(C_SEND_TO,"SendTo", false, typeof(string)));
            _current.Add(C_CHANGE_TITLE, new ColumnInfo(C_CHANGE_TITLE,"ChangeTitle", false, typeof(string)));
            _current.Add(C_CHANGE_CONTENT, new ColumnInfo(C_CHANGE_CONTENT,"ChangeContent", false, typeof(string)));
            _current.Add(C_CHANGE_PERSON, new ColumnInfo(C_CHANGE_PERSON,"ChangePerson", false, typeof(string)));
            _current.Add(C_CHANGE_DATE, new ColumnInfo(C_CHANGE_DATE,"ChangeDate", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo ORDER_CHANGE_ID
        {
            get { return this[C_ORDER_CHANGE_ID]; }
        }
		
		public ColumnInfo ORDER_ID
        {
            get { return this[C_ORDER_ID]; }
        }
		
		public ColumnInfo CHANGE_TYPE
        {
            get { return this[C_CHANGE_TYPE]; }
        }
		
		public ColumnInfo SEND_TO
        {
            get { return this[C_SEND_TO]; }
        }
		
		public ColumnInfo CHANGE_TITLE
        {
            get { return this[C_CHANGE_TITLE]; }
        }
		
		public ColumnInfo CHANGE_CONTENT
        {
            get { return this[C_CHANGE_CONTENT]; }
        }
		
		public ColumnInfo CHANGE_PERSON
        {
            get { return this[C_CHANGE_PERSON]; }
        }
		
		public ColumnInfo CHANGE_DATE
        {
            get { return this[C_CHANGE_DATE]; }
        }
		
		
		
	}
}

